package com.niuwa.p2p.dao.claimtransfer;

import java.util.List;
import java.util.Map;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.claimtransfer.TransProduct;
import com.niuwa.p2p.vo.front.product.FrontProductDetailVo;
import com.niuwa.p2p.vo.front.product.FrontProductListVo;

@MyBatisDao
public interface TransProductDao {
	int deleteByPrimaryKey(String prodCode);

	int insert(TransProduct record);

	int insertSelective(TransProduct record);

	TransProduct selectByPrimaryKey(String prodCode);

	int updateByPrimaryKeySelective(TransProduct record);

	int updateByPrimaryKey(TransProduct record);

	
	// ====================== 前台使用 Add by bwz begin ==============================
	/**
	 * @Description: 查询转让债权列表 add by bwz at 2015年4月9日
	 * @param paramMap
	 * @return
	 */
	public List<FrontProductListVo> selectTransProductListPage(Map<String, Object> paramMap);
	

	/**
     * @Description: 转让产品详细信息
     * @param paramMap
     * @return
     */
    public FrontProductDetailVo getTransroductDetail(Map<String, Object> paramMap);
    
	// ====================== 前台使用 Add by bwz end ================================

}